package com.example.javaproject.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.util.Date;

@TableName("position_application")
public class PositionApplication {
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private String reason;
    private String schedule;
    private String suggestion;
    private Integer isDeleted;
    private Date createTime;
    private Date updateTime;
    private Integer status;
    private Integer positionId;
    private Integer studentId;

    public Integer getId() { return id; }
    public void setId(Integer id) { this.id = id; }
    public String getReason() { return reason; }
    public void setReason(String reason) { this.reason = reason; }
    public String getSchedule() { return schedule; }
    public void setSchedule(String schedule) { this.schedule = schedule; }
    public String getSuggestion() { return suggestion; }
    public void setSuggestion(String suggestion) { this.suggestion = suggestion; }
    public Integer getIsDeleted() { return isDeleted; }
    public void setIsDeleted(Integer isDeleted) { this.isDeleted = isDeleted; }
    public Date getCreateTime() { return createTime; }
    public void setCreateTime(Date createTime) { this.createTime = createTime; }
    public Date getUpdateTime() { return updateTime; }
    public void setUpdateTime(Date updateTime) { this.updateTime = updateTime; }
    public Integer getStatus() { return status; }
    public void setStatus(Integer status) { this.status = status; }
    public Integer getPositionId() { return positionId; }
    public void setPositionId(Integer positionId) { this.positionId = positionId; }
    public Integer getStudentId() { return studentId; }
    public void setStudentId(Integer studentId) { this.studentId = studentId; }

    @Override
    public String toString() {
        return "PositionApplication{" +
                "id=" + id +
                ", reason='" + reason + '\'' +
                ", schedule='" + schedule + '\'' +
                ", suggestion='" + suggestion + '\'' +
                ", isDeleted=" + isDeleted +
                ", createTime=" + createTime +
                ", updateTime=" + updateTime +
                ", status=" + status +
                ", positionId=" + positionId +
                ", studentId=" + studentId +
                '}';
    }
} 